package com.first.nell.data

import com.google.gson.JsonObject


class ReqSaveInfo(
    val targetUrl: String,
    val params: JsonObject
) : ReqBase() {

    fun generateFirstNellParams(): JsonObject {
        params.addProperty("token", this.token)
        params.addProperty("userId", this.userId)
        params.addProperty("androidId", this.androidId)
        params.addProperty("advertId", this.advertId)
        params.addProperty("version", this.version)
        params.addProperty("product", this.product)
        params.addProperty("clientType", this.clientType)
        params.addProperty("aduid", this.aduid)
        params.addProperty("aduidPath", this.aduidPath)
        params.addProperty("isLimitAdTrackingEnabled", this.isLimitAdTrackingEnabled)
        params.addProperty("showLoading", this.showLoading)
        params.addProperty("apiVersion", this.apiVersion)
        return params
    }

}